﻿using System;
using UnityEngine;

namespace SillyCube.Level
{
    public class LevelBase : MonoBehaviour
    {
        [SerializeField] private Transform spawnPoint;

        public Vector2 GetSpawnPoint()
        {
            return spawnPoint.position;
        }

        public void ResetLevel()
        {
            
        }

        public virtual void OnSpawnCube()
        {
            GameManager.Instance.CubeContainer.SpawnCube(GetSpawnPoint());
        }
    }
}